//
//  BaseNaVc.swift
//  YourName
//
//  Created by 李朋 on 2017/5/19.
//  Copyright © 2017年 李朋. All rights reserved.
//

import UIKit

class BaseNaVc: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        // NavigationBar
        
        let naBar = UINavigationBar.appearance()
        naBar.tintColor = UIColor.red
        
        naBar.titleTextAttributes = [
            NSForegroundColorAttributeName: UIColor.red,
            NSFontAttributeName: UIFont.systemFont(ofSize: 16)
        ]
        
        let bar = UIBarButtonItem.appearance()
        
        bar.setBackButtonTitlePositionAdjustment(UIOffsetMake(0, -64), for: UIBarMetrics.default)
        
    }

}
